import request from '@/utils/request'

// 查询新闻动态列表
export function listNews(query) {
  return request({
    url: '/newsSys/news/public/list',
    method: 'get',
    params: query
  })
}

// 查询新闻动态详细
export function getNews(id) {
  return request({
    url: '/newsSys/news/public/' + id,
    method: 'get'
  })
}

